package cn.topcodes.tcsf.app.domain.form;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * Created by Unicorn on 2017/7/26.
 */
@Data
public class QuickCreateAppUserForm implements Serializable {

    @Length(min = 3, max = 20, message = "用户名长度为3~20个字符")
    private String username;

    @Length(min = 1, max = 20, message = "姓名长度为1~20个字符")
    private String realName;

    @Length(min = 6, max = 20, message = "密码长度为6~20个字符")
    private String password;
}
